Part Number Hot Search : 
ISP1107 TSP220C TSP220C TA8193S D105K0 X28C256 24SMV450 A0100
Product Description
Full Text Search
 

To Download CY14B256KA-SP25XI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  cy14b256ka 256-kbit (32 k 8) nvsram with real time clock cypress semiconductor corporation ? 198 champion court ? san jose , ca 95134-1709 ? 408-943-2600 document #: 001-55720 rev. *c revised january 17, 2011 256 kbit (32k x 8) nvsram with real time clock features 256-kbit nonvolatile static random access memory (nvsram) ? 25 ns and 45 ns access times ? internally organized as 32 k 8 (cy14b256ka) ? hands off automatic store on power-down with only a small capacitor ? store to quantumtrap nonvolatile elements is initiated by software, hardware, or autostore on power-down ? recall to sram initiated on power-up or by software high reliability ? infinite read, writ e, and recall cycles ? 1 million store cycles to quantumtrap ? 20 year data retention real time clock (rtc) ? full-featured real time clock ? watchdog timer ? clock alarm with programmable interrupts ? capacitor or battery backup for rtc ? backup current of 0.35 ua (typ) industry standard configurations ? single 3 v +20%, -10% operation ? industrial temperature ? 48-pin shrink small-outline package (ssop) ? pb-free and restriction of hazardous substances (rohs) compliant functional description the cypress cy14b256ka combines a 256-kbit nonvolatile static ram with a full featured real time clock in a monolithic integrated circuit. the embedded nonvolatile elements incor- porate quantumtrap technology producing the world?s most reliable nonvolatile memory. the sram is read and written an infinite number of times, wh ile independent nonvolatile data resides in the nonvolatile elements. the real time clock function provides an accurate clock with leap year tracking and a programmable, high accuracy oscillator. the alarm function is programmable for periodic minutes, hours, days, or months alarms. there is also a programmable watchdog timer for process control. store/ recall control power control software detect static ram array 512 x 512 quantumtrap 512 x 512 store recall column io column dec row decoder input buffers oe ce we hsb v cc v cap a 14 - a 0 a 0 a 1 a 2 a 3 a 4 a 10 a 5 a 6 a 7 a 8 a 9 a 12 a 13 a 14 dq 0 dq 1 dq 2 dq 3 dq 4 dq 5 dq 6 dq 7 rtc mux a 14 - a 0 x out x in int v rtcbat v rtccap a 11 logic block diagram [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 2 of 27 contents pinouts .............................................................................. 3 pin definitions .................................................................. 3 device operation .............................................................. 4 sram read ....................................................................... 4 sram write ....................................................................... 4 autostore operation ........................................................ 4 hardware store (hsb) operation................................. 4 hardware recall (power-up) ....................................... 5 software store ............................................................... 5 software recall............................................................. 5 preventing autostore....................................................... 6 data protection ................................................................. 7 noise considerations....................................................... 7 real time clock operation.............................................. 7 nvtime operation ....................................................... 7 clock operations......................................................... 7 reading the clock ....................................................... 7 setting the clock ......................................................... 7 backup power ............................................................. 7 stopping and starting the osc illator............... ............. 8 calibrating the clock ................................................... 8 alarm ........................................................................... 8 watchdog timer ........ .............. .............. .............. ........ 8 power monitor ............................................................. 9 interrupts ..................................................................... 9 flags register ........................................................... 10 best practices................................................................. 15 maximum ratings........................................................... 16 operating range............................................................. 16 dc electrical characteristics ........................................ 16 data retention and endurance ..................................... 17 capacitance .................................................................... 17 thermal resistance........................................................ 17 ac test conditions ........................................................ 17 rtc characteristics ....................................................... 17 ac switching characteristics ....................................... 18 sram read cycle .................................................... 18 sram write cycle..................................................... 18 autostore/power-up recall....................................... 20 software controlled store/recall cycle................ 21 hardware store cycle ................................................. 22 truth table for sram operations................................ 23 ordering information...................................................... 24 ordering code definition........ ................................... 24 package diagram............................................................ 25 acronyms ........................................................................ 26 document conventions ................................................. 26 units of measure ....................................................... 26 document history page ................................................. 27 sales, solutions, and legal information ...................... 27 worldwide sales and design supp ort............. .......... 27 products .................................................................... 27 psoc solutions ......................................................... 27 [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 3 of 27 note 1. address expansion for 1 mbit. nc pin not connected to die. pinouts figure 1. pin di agram - 48-pin ssop pin definitions pin name i/o type description a 0 ? a 14 input address inputs. used to select on e of the 32,768 bytes of the nvsram. dq 0 ? dq 7 input/output bidirectional data i/o lines. used as input or output lines depending on operation. nc no connect no connect. this pin is not connected to the die. we input write enable input, active lo w. when the chip is enabled and we is low, data on the i/o pins is written to the specific address location. ce input chip enable input, active low. when low, selects the chip. when high, deselects the chip. oe input output enable, active low. the active low oe input enables the data output buffers during read cycles. deasserting oe high causes the i/o pins to tristate. x out output crystal connection. drives crystal on start up. x in input crystal connection. for 32.768 khz crystal. v rtccap power supply capacitor supplied backup rtc supply voltage. left unconnected if v rtcbat is used. v rtcbat power supply battery supplied backup rtc supply voltage. left unconnected if v rtccap is used. int output interrupt output. pr ogrammable to respond to the clock alarm, the watchdog timer, and the power monitor. also programmable to either active high (push or pull) or low (open drain). v ss ground ground for the device. must be connected to the ground of the system. v cc power supply power supply inputs to the device. 3.0 v +20%, ?10% hsb input/output hardwa re store busy (hsb ). when low, this output indicates that a hardware store is in progress. when pulled low, external to the chip, it initiates a nonvolatile store operation. after each hardware and software store operation hsb is driven high for a short time (t hhhd ) with standard output high current and then a weak internal pull-up resistor keep s this pin high (external pull-up resistor connection optional). v cap power supply autostore capacitor. supplies power to the nvsram during power loss to store data from sram to nonvolatile elements. nc a 8 xout xin v ss dq6 dq5 dq4 v cc a 13 dq3 a 12 dq2 dq1 dq0 oe a 9 ce nc a 0 a 1 a 2 a 3 a 4 a 5 a 6 a 11 a 7 a 14 nc nc nc nc nc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 a 10 v rtcbat we dq7 hsb int v ss v cc v cap v rtccap 45 46 47 48 nc nc nc nc 48 - ssop (x8) (not to scale) top view [1] [1] [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 4 of 27 device operation the cy14b256ka nvsram is made up of two functional components paired in the same physical cell. these are a sram memory cell and a nonvolatile quantumtrap cell. the sram memory cell operates as a standard fast static ram. data in the sram is transferred to the nonvolatile cell (the store operation), or from the nonvolatile cell to the sram (the recall operation). using this unique arch itecture, all cells are stored and recalled in parallel. during the store and recall operations sram read and write operations are inhibited. the cy14b256ka supports infinite reads and writes similar to a typical sram. in addition, it provides infinite recall operations from the nonvolatile cells and up to 1 million store operations. refer the truth table for sram operations on page 23 for a complete description of read and write modes. sram read the cy14b256ka performs a read cycle whenever ce and oe are low, and we and hsb are high. the address specified on pins a 0-14 determines which of the 32,768 data bytes are accessed. when the read is in itiated by an address transition, the outputs are valid after a delay of t aa (read cycle #1). if the read is initiated by ce or oe , the outputs are valid at t ace or at t doe , whichever is later (read cycle #2). the data output repeatedly responds to address changes within the t aa access time without the need for transitions on any control input pins. this remains valid until another address change or until ce or oe is brought high, or we or hsb is brought low. sram write a write cycle is performed when ce and we are low and hsb is high. the address inputs must be stable before entering the write cycle and must re main stable until ce or we goes high at the end of the cycle. the data on the common i/o pins io 0-7 are written into the memory if it is valid t sd before the end of a we- controlled write, or before the end of an ce -controlled write. it is recommended that oe be kept high during the entire write cycle to avoid data bus conten tion on common i/o lines. if oe is left low, internal circuitry turns off the output buffers t hzwe after we goes low. autostore operation the cy14b256ka stores data to the nvsram using one of three storage operations. these thr ee operations are: hardware store, activated by the hsb ; software store, activated by an address sequence; autostore, on device power-down. the autostore operation is a uni que feature of quantumtrap technology and is enabled by default on the cy14b256ka. during normal operation, the device draws current from v cc to charge a capacitor connected to the v cap pin. this stored charge is used by the chip to perform a single store operation. if the voltage on the v cc pin drops below v switch , the part automatically disconnects the v cap pin from v cc . a store operation is initiated with power provided by the v cap capacitor. note if the capacitor is not connected to v cap pin, autostore must be disabled using the soft sequence specified in preventing autostore on page 6. in case autostore is enabled without a capacitor on v cap pin, the device attempts an autostore operation without sufficient char ge to complete the store. this corrupts the data stored in nvsram. figure 2. autostore mode figure 2 shows the proper connection of the storage capacitor (v cap ) for automatic store operation. refer to dc electrical characteristics on page 16 for the size of the v cap . the voltage on the v cap pin is driven to v cc by a regulator on the chip. place a pull-up on we to hold it inactive during power-up. this pull-up is only effective if the we signal is tristate during power-up. many mpus tristate their controls on power-up. this mu st be verified when using the pull-up. when the nvsram comes out of power-on-recall, the mpu mu st be active or the we held inactive until the mp u comes out of reset. to reduce unnecessary nonvolatile stores, autostore and hardware store operations are ignored unless at least one write operation has taken place since the most recent store or recall cycle. software initiat ed store cycles are performed regardless of whether a write operation has taken place. the hsb signal is monitored by th e system to detect if an autostore cycle is in progress. hardware store (hsb ) operation the cy14b256ka provides the hsb pin to control and acknowledge the store operations. the hsb pin is used to request a hardware store cycle. when the hsb pin is driven low, the cy14b256ka conditionally initiates a store operation after t delay . an actual store cycle begins only if a write to the sram has taken place since the last store or recall cycle. the hsb pin also acts as an open drain driver (internal 100 k weak pull-up resistor) that is internally driven low to indicate a busy condition when the store (initiated by any means) is in progress. note after each hardware and software store operation hsb is driven high for a short time (t hhhd ) with standard output high current and then remains high by internal 100 k pull-up resistor. sram write operations that are in progress when hsb is driven low by any means are given time (t delay ) to complete before the store operation is initiated. however, any sram write cycles requested after hsb goes low are inhibited until hsb returns high. in case the write latch is not set, hsb is not driven low by the cy14b256ka. but any sram read and write cycles are inhibited until hsb is returned high by mpu or other external source. 0.1 uf v cc 10 kohm v cap we v cap v ss v cc [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 5 of 27 during any store operation, rega rdless of how it is initiated, the cy14b256ka continues to drive the hsb pin low, releasing it only when the store is comp lete. upon completion of the store operation, the nvsram memory access is inhibited for t lzhsb time after hsb pin returns high. leave the hsb uncon- nected if it is not used. hardware recall (power-up) during power-up or after any low power condition (v cc cy14b256ka document #: 001-55720 rev. *c page 6 of 27 preventing autostore the autostore function is disabled by initiating an autostore disable sequence. a sequence of read operations is performed in a manner similar to the software store initiation. to initiate the autostore disable sequence, the following sequence of ce or oe controlled read operations must be performed: 1. read address 0x0e38 valid read 2. read address 0x31c7 valid read 3. read address 0x03e0 valid read 4. read address 0x3c1f valid read 5. read address 0x303f valid read 6. read address 0x0b45 autostore disable the autostore is reenabled by initiating an autostore enable sequence. a sequence of read operations is performed in a manner similar to the software recall initiation. to initiate the autostore enable sequence, the following sequence of ce or oe controlled read operations must be performed: 1. read address 0x0e38 valid read 2. read address 0x31c7 valid read 3. read address 0x03e0 valid read 4. read address 0x3c1f valid read 5. read address 0x303f valid read 6. read address 0x0b46 autostore enable if the autostore function is disabled or reenabled, a manual store operation (hardware or software) issued to save the autostore state through subs equent power-down cycles. the part comes from the factory with autostore enabled. table 1. mode selection ce we oe a 14 - a 0 [2] mode i/o power h x x x not selected output high z standby l h l x read sram output data active l l x x write sram input data active l h l 0x0e38 0x31c7 0x03e0 0x3c1f 0x303f 0x0b45 read sram read sram read sram read sram read sram autostore disable output data output data output data output data output data output data active [3] l h l 0x0e38 0x31c7 0x03e0 0x3c1f 0x303f 0x0b46 read sram read sram read sram read sram read sram autostore enable output data output data output data output data output data output data active [3] l h l 0x0e38 0x31c7 0x03e0 0x3c1f 0x303f 0x0fc0 read sram read sram read sram read sram read sram nonvolatile store output data output data output data output data output data output high z active i cc2 [3] l h l 0x0e38 0x31c7 0x03e0 0x3c1f 0x303f 0x0c63 read sram read sram read sram read sram read sram nonvolatile recall output data output data output data output data output data output high z active [3] notes 2. while there are 15 address lines on the cy14b256ka, only the lower 14 are used to control software modes. 3. the six consecutive addr ess locations must be in the order listed. we must be high during all six cycles to enable a nonvolatile cycle. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 7 of 27 data protection the cy14b256ka protects data from corruption during low voltage conditions by inhibiting all externally initiated store and write operations. the low voltage condition is detected when v cc is less than v switch . if the cy14b256ka is in a write mode (both ce and we are low) at power-up, after a recall or store, the write is inhibited until the sram is enabled after t lzhsb (hsb to output active). this protects against inadvertent writes during power-up or brown out conditions. noise considerations refer to cy application note an1064 . real time clock operation nvtime operation the cy14b256ka offers internal registers that contain clock, alarm, watchdog, interrupt, and control functions. internal double buffering of the clock and time r information registers prevents accessing transitional internal clock data during a read or write operation. double buffering also circumvents disrupting normal timing counts or the clock accu racy of the internal clock when accessing clock data. clock and alarm registers store data in bcd format. rtc functionality is described in the following sections. the rtc register addresses for cy14b256ka range from 0x7ff0 to 0x7fff. refer to table 3 on page 11 and ta b l e 4 on page 12 for a detailed register map description. clock operations the clock registers maintain time up to 9,999 years in one second increments. the time can be set to any calendar time and the clock automatically keeps track of days of the week and month, leap years, and century transitions. there are eight registers dedicated to the clock functions, which are used to set time with a write cycle and to read time during a read cycle. these registers contain the time of day in bcd format. bits defined as ?0? are currently not used and are reserved for future use by cypress. reading the clock the double buffered rtc register structure reduces the chance of reading incorrect data from the clock. stop internal updates to the cy14b256ka time keeping registers before reading clock data, to prevent reading of data in transition. stopping the register updates does not affect clock accuracy. the updating process is stopped by writing a ?1? to the read bit ?r? (in the flags register at 0x7ff0), and does not restart until a ?0? is written to the read bit. the rtc registers are then read while the internal clock continues to run. after a ?0? is written to the read bit (?r?), all rtc registers are simultaneously updated within 20 ms. setting the clock setting the write bit ?w? (in the flags register at 0x7ff0) to a ?1? stops updates to the time keeping registers and enables the time to be set. the correct day, date, and time is then written into the registers and must be in 24-hour bcd format. the time written is referred to as the ?base time?. this value is stored in nonvol- atile registers and used in the calculation of the current time. resetting the write bit to ?0? transfers the values of timekeeping registers to the actual clock counters, after which the clock resumes normal operation. if the time written to the timekeeping registers is not in the correct bcd format, each invalid nibble of the rtc registers continue counting to 0xf before rolling over to 0x0 after which rtc resumes normal operation. note after ?w? bit is set to ?0?, values written into the timekeeping, alarm, calibration, and interrupt registers are transferred to the rtc time keeping counters in t rtcp time. these counter values must be saved to nonvolatile memory either by initiating a software/hardware store or autostore operation. while working in autostore disabled mode, perform a store operation after t rtcp time while writing into the rtc registers for the modifications to be correctly recorded. backup power the rtc in the cy14b256ka is intended for permanently powered operation. the v rtccap or v rtcbat pin is connected depending on whether a capacitor or battery is chosen for the application. when the primary power, v cc , fails and drops below v switch the device switches to the backup power supply. the clock oscillator uses very little current, which maximizes the backup time available from the backup source. regardless of the clock operation with the primary source removed, the data stored in the nvsram is secure, having been stored in the nonvolatile elements when power was lost. during backup operation, the cy14b256ka consumes 0.35 microamps (typical) at room temp erature. the us er must choose capacitor or battery values according to the application. backup time values based on maximum current specifications are shown in the following table. nominal backup times are approximately two times longer. using a capacitor has the obvious advantage of recharging the backup source each time the syst em is powered up. if a battery is used, a 3 v lithium is recommended and the cy14b256ka sources current only from the battery when the primary power is removed. however, the battery is not recharged at any time by the cy14b256ka. the battery capacity must be chosen for total anticipated cumulative down time required over the life of the system. table 2. rtc backup time capacitor value backup time 0.1 f 72 hours 0.47 f 14 days 1.0 f 30 days [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 8 of 27 stopping and starting the oscillator the oscen bit in the calibration register at 0x7ff8 controls the enable and disable of the oscillator . this bit is nonvolatile and is shipped to customers in the ?enabled? (set to ?0?) state. to preserve the battery life when the system is in storage, oscen must be set to ?1?. this turns off the oscillator circuit, extending the battery life. if the oscen bit goes from disabled to enabled, it takes approximately one second (two seconds maximum) for the oscillator to start. while system power is off, if the voltage on the backup supply (v rtccap or v rtcbat ) falls below their respective minimum level, the oscillator may fail.the cy14b256ka has the ability to detect oscillator failure when system power is restor ed. this is recorded in the oscillator fail bit (oscf) of the flags register at the address 0x7ff0. when the device is powered on (v cc goes above v switch ) the oscen bit is checked for ?enabled? status. if the oscen bit is enabled and the oscillator is not active within the first 5 ms , the oscf bit is set to ?1 ?. the system must check for this condition and then write ?0? to clear the flag. note that in addition to setting the oscf flag bit, the time registers are reset to the ?base time? (see setting the clock on page 7), which is the value last written to the time keeping registers. the control or calibration registers and the oscen bit are not affected by the ?oscillator failed? condition. reset the value of oscf to ?0? when the time registers are written for the first time. this initializes the state of this bit which may have become set when the syst em was first powered on. to reset oscf, set the write bit ?w? (in the flags register at 0x7ff0) to a ?1? to enable writes to the flag register. write a ?0? to the oscf bit and reset the writ e bit to ?0? to disable writes. calibrating the clock the rtc is driven by a quartz controlled crystal with a nominal frequency of 32.768 khz. clock accuracy depends on the quality of the crystal and calibration. the crystals available in market typically have an error of + 20 ppm to + 35 ppm. however, cy14b256ka employs a calibration circuit that improves the accuracy to +1/?2 ppm at 25 c. this implies an error of +2.5 seconds to -5 seconds per month. the calibration circuit adds or subt racts counts from the oscillator divider circuit to achieve this accuracy. the number of pulses that are suppressed (subtracted, negative calibration) or split (added, positive calibration) depends upon the value loaded into the five calibration bits found in calib ration register at 0x7ff8. the calibration bits occupy the five lo wer order bits in the calibration register. these bits are set to represent any value between ?0? and 31 in binary form. bit d5 is a sign bit, where a ?1? indicates positive calibration and a ?0? indicates negative calibration. adding counts speeds the clock up and subtracting counts slows the clock down. if a binary ?1? is loaded into the register, it corre- sponds to an adjustment of 4.068 or ?2.034 ppm offset in oscil- lator error, depending on the sign. calibration occurs within a 64-minute cycl e. the first 62 minutes in the cycle may, once per minute, have one second shortened by 128 or lengthened by 256 oscillator cycles. if a binary ?1? is loaded into the register, only the first two minutes of the 64-minute cycle are modified. if a binary 6 is loaded, the first 12 are affected, and so on. therefore, each calibration step has the effect of adding 512 or subtracting 256 oscillator cycles for every 125,829,120 actual oscillator cycles , that is, 4.068 or ?2.034 ppm of adjustment per calibration step in the calibration register. to determine the required calibration, the cal bit in the flags register (0x7ff0) must be set to ?1?. this causes the int pin to toggle at a nominal frequency of 512 hz. any deviation measured from the 512 hz indicates the degree and direction of the required correction. for example, a reading of 512.01024 hz indicates a +20 ppm error. hence, a decimal value of ?10 (001010b) must be loaded into the calibration register to offset this error. note setting or changing the calibration register does not affect the test output frequency. to set or clear cal, set the write bit ?w? (in the flags register at 0x7ff0) to ?1? to enable writes to the flags register. write a value to cal, and then reset the writ e bit to ?0? to disable writes. alarm the alarm function compares user programmed values of alarm time and date (stored in the registers 0x7ff1-5) with the corre- sponding time of day and date values. when a match occurs, the alarm internal flag (af) is set and an interrupt is generated on int pin if alarm interrupt enable (aie) bit is set. there are four alarm match fields - date, hours, minutes, and seconds. each of these fields has a match bit that is used to determine if the field is used in the alarm match logic. setting the match bit to ?0? indicates that the corresponding field is used in the match process. depending on the match bits, the alarm occurs as specifically as once a month or as frequently as once every minute. selecting none of the match bits (all 1s) indicates that no match is required and therefore, alarm is disabled. selecting all match bits (all 0s) causes an exact time and date match. there are two ways to detect an alarm event: by reading the af flag or monitoring the int pin. the af flag in the flags register at 0x7ff0 indicates that a date or time match has occurred. the af bit is set to ?1? when a match occurs. reading the flags register clears the alarm flag bit (and all others). a hardware interrupt pin may also be used to detect an alarm event. to set, clear or enable an alarm, set the ?w? bit (in flags register - 0x7ff0) to ?1? to enable writes to alarm registers. after writing the alarm value, clear the ?w? bit back to ?0? for the changes to take effect. note cy14b256ka requires the alarm match bit for seconds (0x7ff2 - d7) to be set to ?0? for proper operation of alarm flag and interrupt. watchdog timer the watchdog timer is a free running down counter that uses the 32 hz clock (31.25 ms) derived from the crystal oscillator. the oscillator must be running for the watchdog to function. it begins counting down from the value loaded in the watchdog timer register. the timer consists of a loadable register and a free running counter. on power-up, the watchdog time out value in register 0x7ff7 is loaded into the counter load register. counting begins on power-up and restarts from the loadable value any time the watchdog strobe (wds) bit is set to ?1?. the counter is compared to the terminal value of ?0?. if the counter reaches this value, it causes an internal flag and an optional interrupt output. you can prevent the time out interrupt by setting wds bit to ?1? prior to the counter reaching ?0?. this caus es the counter to reload with the [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 9 of 27 watchdog time out value and to be restarted. as long as the user sets the wds bit prior to the counter reaching the terminal value, the interrupt and wdt flag never occur. new time out values are written by setting the watchdog write bit to ?0?. when the wdw is ?0?, new writes to the watchdog time out value bits d5-d0 are enabled to modify the time out value. when wdw is ?1?, writes to bits d5-d0 are ignored. the wdw function enables a user to set the wds bit without concern that the watchdog timer value is modified. a logical diagram of the watchdog timer is shown in figure 3 . note that setting the watchdog time out value to ?0? disables the watchdog function. the output of the watchdog timer is the flag bit wdf that is set if the watchdog is allowed to time out. if the watchdog interrupt enable (wie) bit in the interrupt register is set, a hardware interrupt on int pin is also generated on watchdog timeout. the flag and the hardware interrupt are both cleared when user reads the flags register. . power monitor the cy14b256ka provides a power management scheme with power fail interrupt capability. it also controls the internal switch to backup power for the clock and protects the memory from low v cc access. the power monitor is based on an internal band gap reference circuit that compares the v cc voltage to v switch threshold. as described in the autostore operation on page 4, when v switch is reached as v cc decays from power loss, a data store operation is initiated from sram to the nonvolatile elements, securing the last sram data state. power is also switched from v cc to the backup supply (battery or capacitor) to operate the rtc oscillator. when operating from the backup source, read and write opera- tions to nvsram are inhibited and the rtc functions are not available to the user. the rtc clock continues to operate in the background. the updated rtc time keeping registers data are available to the user after v cc is restored to the device (see autostore/power-up recall on page 20). interrupts the cy14b256ka has flags register, interrupt register and interrupt logic that can signal interrupt to the microcontroller. there are three potential sources for interrupt: watchdog timer, power monitor, and alarm timer. each of these can be individually enabled to drive the int pin by appropriate setting in the interrupt register (0x7ff6). in addition, each has an associated flag bit in the flags register (0x7ff0) th at the host processor uses to determine the cause of the interrupt. the int pin driver has two bits that specify its behavior when an interrupt occurs. an interrupt is raised only if both a flag is raised by one of the three sources and the respective interrupt enable bit in interrupts register is enabled (set to ?1?). after an interrupt source is active, two programmable bits, h/l and p/l, determine the behavior of the output pin driver on int pin. these two bits are located in the interrupt register and can be us ed to drive level or pulse mode output from the int pin. in pulse mode, the pulse width is internally fixed at approximatel y 200 ms. this mode is intended to reset a host microcontroller. in the level mode, the pin goes to its active polarity until the flags register is read by the user. this mode is used as an interrupt to a host microcontroller. the control bits are summarized in the following section. interrupts are only generated while working on normal power and are not triggered when system is running in backup power mode. note cy14b256ka generates valid interrupts only after the powerup recall sequence is completed. all events on int pin must be ignored for t hrecall duration after powerup. interrupt register watchdog interrupt enable (wie) . when set to ?1?, the watchdog timer drives the int pin and an internal flag when a watchdog time out occurs. when wie is set to ?0?, the watchdog timer only affects the wdf flag in flags register. alarm interrupt enable (aie) . when set to ?1?, the alarm match drives the int pin and an internal flag. when aie is set to ?0?, the alarm match only affects the af flag in flags register. power fail interr upt enable (pfe) . when set to ?1?, the power fail monitor drives the pin and an internal flag. when pfe is set to ?0?, the power fail monitor only affects the pf flag in flags register. high/low (h/l) . when set to a ?1?, the int pin is active high and the driver mode is push pull. the int pin drives high only when v cc is greater than v switch . when set to a ?0?, the int pin is active low and the drive mode is open drain. the int pin must be pulled up to vcc by a 10 k resistor while using the interrupt in active low mode. pulse/level (p/l) . when set to a ?1? and an interrupt occurs, the int pin is driven for approximately 200 ms. when p/l is set to a ?0?, the int pin is driven high or low (determined by h/l) until the flags register is read. when an enabled interrupt source activates the int pin, an external host reads the flags register to determine the cause. all flags are cleared when the regi ster is read. if the int pin is programmed for level mode, then the condition clears and the int pin returns to its inactive state. if the pin is programmed for pulse mode, then reading the flag also clears the flag and the pin. the pulse does not complete its specified duration if the flags register is read. if the int pin is used as a host reset, then the flags register is not read during a reset. figure 3. watchdog timer block diagram 1 hz oscillator clock divider counter zero compare wdf wds load register wdw d q q watchdog register write to watchdog register 32 hz 32,768 khz [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 10 of 27 flags register the flags register has three flag bits: wdf, af, and pf, which ca n be used to generate an interrupt. these flags are set by the watchdog timeout, alarm match, or power fail monitor respectively. the processor can either poll this regist er or enable interrupts to be informed when a flag is set. these flags are automatically reset when the register is read. the flags regi ster is automatically loaded w ith the value 0x00 on power-up (except for the oscf bit; see stopping and starting the oscillator on page 8). figure 4. rtc recommended component configuration figure 5. interrupt block diagram x out x in y1 c2 c1 recommended values y 1 = 32.768 khz (12.5 pf) c 1 = 10 pf c 2 = 67 pf note: the recommended values for c1 and c2 include board trace capacitance. wdf - watchdog timer flag wie - watchdog interrupt pf - power fail flag pfe - power fail enable af - alarm flag aie - alarm interrupt enable p/l - pulse level h/l - high/low enable watchdog timer power monitor clock alarm vint wdf wie pf pfe af aie p/l pin driver h/l int v cc v ss [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 11 of 27 table 3. rtc register map [4, 5] register bcd format data [4] function/range cy14b256ka d7 d6 d5 d4 d3 d2 d1 d0 0x7fff 10s years years years: 00?99 0x7ffe 0 0 0 10s months months months: 01?12 0x7ffd 0 0 10s day of month day of month day of month: 01?31 0x7ffc 0 0 0 0 0 day of week day of week: 01?07 0x7ffb 0 0 10s hours hours hours: 00?23 0x7ffa 0 10s minutes minutes minutes: 00?59 0x7ff9 0 10s seconds seconds seconds: 00?59 0x7ff8 oscen (0) 0cal sign (0) calibration (00000) calibration values [6] 0x7ff7 wds (0) wdw (0) wdt (000000) watchdog [6] 0x7ff6 wie (0) aie (0) pfe (0) 0 h/l (1) p/l (0) 0 0 interrupts [6] 0x7ff5 m (1) 0 10s alarm date alarm day alarm, day of month: 01?31 0x7ff4 m (1) 0 10s alarm hours alarm hours alarm, hours: 00?23 0x7ff3 m (1) 10 alarm minutes alarm minutes alarm, minutes: 00?59 0x7ff2 m (1) 10 alarm seconds alarm, seconds alarm, seconds: 00?59 0x7ff1 10s centuries centuries centuries: 00?99 0x7ff0 wdf af pf oscf [7] 0cal (0) w (0) r (0) flags [6] notes 4. the unused bits of rtc registers are reserved for future use and should be set to ?0?. 5. ( ) designates values shipped from the factory. 6. this is a binary value, not a bcd value. 7. when the user resets oscf flag bit, the flags register will be updated after t rtcp time. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 12 of 27 table 4. register map detail register description cy14b256ka 0x7fff time keeping - years d7 d6 d5 d4 d3 d2 d1 d0 10s years years contains the lower two bcd digits of the year. lower nibb le (four bits) contains the value for years; upper nibble (four bits) contains the value for 10s of years. each nibble operates from 0 to 9. the ra nge for the register is 0?99. 0x7ffe time keeping - months d7 d6 d5 d4 d3 d2 d1 d0 0 0 0 10s month months contains the bcd digits of the month. lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper nibble (one bit) contains the upper digit and operat es from 0 to 1. the range for the register is 1?12. 0x7ffd time keeping - date d7 d6 d5 d4 d3 d2 d1 d0 0 0 10s day of month day of month contains the bcd digits for the date of the month. lowe r nibble (four bits) contains the lower digit and operates from 0 to 9; upper nibble (two bits) contains the 10s digit and operates from 0 to 3. th e range for the register is 1?31. leap years are automatically adjusted for. 0x7ffc time keeping - day d7 d6 d5 d4 d3 d2 d1 d0 0 0 0 0 0 day of week lower nibble (three bits) contains a val ue that correlates to day of the week . day of the week is a ring counter that counts from 1 to 7 then returns to 1. the user must assign meaning to the day va lue, because the day is not integrated with the date. 0x7ffb time keeping - hours d7 d6 d5 d4 d3 d2 d1 d0 0 0 10s hours hours contains the bcd value of hours in 24 hour format. lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper nibble (two bits) contains the upper digit and operates from 0 to 2. the range for the register is 0?23. 0x7ffa time keeping - minutes d7 d6 d5 d4 d3 d2 d1 d0 0 10s minutes minutes contains the bcd value of minutes. lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper nibble (three bits) contains the upper minutes digit and operates from 0 to 5. t he range for the register is 0?59. 0x7ff9 time keeping - seconds d7 d6 d5 d4 d3 d2 d1 d0 0 10s seconds seconds contains the bcd value of seconds. lower nibble (four bits ) contains the lower digit and operates from 0 to 9; upper nibble (three bits) contains the upper digit and ope rates from 0 to 5. the range for the register is 0?59. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 13 of 27 register description cy14b256ka 0x7ff8 calibration/control d7 d6 d5 d4 d3 d2 d1 d0 oscen 0 calibration sign calibration oscen oscillator enable. when set to ?1?, the oscillator is stopped. when set to ?0?, the oscillator runs. disabling the oscillator saves battery or ca pacitor power during storage. calibration sign determines if the calibration adjustment is applied as an addi tion (1) to or as a subtraction (0) from the time-base. calibration these five bits contro l the calibration of the clock. 0x7ff7 watchdog timer d7 d6 d5 d4 d3 d2 d1 d0 wds wdw wdt wds watchdog strobe. setting this bit to ?1? reloads and restarts the watchdog timer. setting the bit to ?0? has no effect. the bit is cleared automatically after the watchdog timer is reset. the wds bit is write only. reading it always returns a 0. wdw watchdog write enable. setting this bit to ?1? disables any write to the watchdog timeout value (d5?d0). this allows the user to set the watchdog strobe bit without distur bing the timeout value. setting this bit to ?0? allows bits d5?d0 to be written to the watchdog register when the next write cycle is complete. this function is explained in more detail in watchdog timer on page 8. wdt watchdog timeout selection. the watchdog timer interval is selected by the 6-bit value in this register. it repre- sents a multiplier of the 32 hz count (31.25 ms). the range of timeout value is 31.25 ms (a setting of 1) to 2 seconds (setting of 3 fh). setting the watchdog timer regist er to 0 disables the timer. these bits can be written only if the wdw bit was set to 0 on a previous cycle. 0x7ff6 interrupt status/control d7 d6 d5 d4 d3 d2 d1 d0 wie aie pfe 0 h/l p/l 0 0 wie watchdog interrupt enable. when set to ?1? and a wa tchdog timeout occurs, the watchdog timer drives the int pin and the wdf flag. when set to ?0?, the watchdog timeout affects only the wdf flag. aie alarm interrupt enable. when set to ?1?, the alarm match drives the int pin and the af flag. when set to ?0?, the alarm match only affects the af flag. pfe power fail enable. when set to ?1?, the power fail monitor drives the int pin and the pf flag. when set to ?0?, the power fail monitor affects only the pf flag. 0 reserved for future use h/l high/low. when set to ?1?, the int pin is driven active hi gh. when set to ?0?, the int pin is open drain, active low. p/l pulse/level. when set to ?1?, the int pin is driven acti ve (determined by h/l) by an interrupt source for approx- imately 200 ms. when set to ?0?, the int pin is driven to an active level (as set by h/l) until the flags register is read. 0x7ff5 alarm - day d7 d6 d5 d4 d3 d2 d1 d0 m 0 10s alarm date alarm date contains the alarm value for the date of the month and the mask bit to select or deselect the date value. m match. when this bit is set to ?0?, the date value is used in the alarm match. setting this bit to ?1? causes the match circuit to ignore the date value. table 4. register map detail (continued) [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 14 of 27 register description cy14b256ka 0x7ff4 alarm - hours d7 d6 d5 d4 d3 d2 d1 d0 m 0 10s alarm hours alarm hours contains the alarm value for the hours and the mask bit to select or deselect the hours value. m match. when this bit is set to ?0?, the hours value is used in the alarm match. setting this bit to ?1? causes the match circuit to ignore the hours value. 0x7ff3 alarm - minutes d7 d6 d5 d4 d3 d2 d1 d0 m 10s alarm minutes alarm minutes contains the alarm value for the minutes and the ma sk bit to select or dese lect the minutes value. m match. when this bit is set to ?0?, the minutes value is us ed in the alarm match. setting this bit to ?1? causes the match circuit to igno re the minutes value. 0x7ff2 alarm - seconds d7 d6 d5 d4 d3 d2 d1 d0 m 10s alarm seconds alarm seconds contains the alarm value for the seconds and the mask bit to select or deselect the seconds? value. m match. when this bit is set to ?0?, the seconds value is us ed in the alarm match. setting this bit to ?1? causes the match circuit to ignore the seconds value. 0x7ff1 time keeping - centuries d7 d6 d5 d4 d3 d2 d1 d0 10s centuries centuries contains the bcd value of centuries. lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper nibble (four bits) contains the upper digit and operat es from 0 to 9. the range for the register is 0-99 centuries. 0x7ff0 flags d7 d6 d5 d4 d3 d2 d1 d0 wdf af pf oscf 0 cal w r wdf watchdog timer flag. this read only bit is set to ?1? when the watchdog timer is allowed to reach 0 without being reset by the user. it is cleared to ?0? when the flags register is read or on power-up af alarm flag. this read only bit is set to ?1? when the time and date match the values stored in the alarm registers with the match bits = 0. it is cleared when the flags register is read or on power-up. pf power fail flag. this read only bit is set to 1 when power falls below the power fail threshold v switch . it is cleared to 0 when the flags regist er is read or on power-up. oscf oscillator fail flag. set to ?1? on powe r-up if the oscillator is enabled and not running in the first 5 ms of operation. this indicates t hat rtc backup power failed and clo ck value is no longer valid. this bit survives the power cycle and is never cleared internally by the chip. the user must check for this condition and write '0' to clear this flag. when user resets oscf flag bit, the bit will be updated after t rtcp time. cal calibration mode. when set to ?1?, a 512 hz square wave is output on the int pin. when set to ?0?, the int pin resumes normal operation. this bit defaults to 0 (disabled) on power-up. w write enable: setting the ?w? bit to ?1? freezes updates of the rtc registers. the user can then write to rtc registers, alarm registers, ca libration register, interrupt register and flag s register. setting the ?w? bit to ?0? causes the contents of the rtc registers to be transferred to th e time keeping counters if the time has changed. this transfer process takes t rtcp time to complete. this bi t defaults to 0 on power-up. r read enable: setting ?r? bit to ?1?, stops clock updates to user rtc registers so that clock updates are not seen during the reading process. set ?r? bit to ?0? to resume cl ock updates to the holding register. setting this bit does not require ?w? bit to be set to ?1?. this bit defaults to 0 on power-up. table 4. register map detail (continued) [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 15 of 27 best practices nvsram products have been used effectively for over 27 years. while ease-of-use is one of t he product?s main system values, experience gained working with hundreds of applications has resulted in the following suggestions as best practices: the nonvolatile cells in this nvsram product are delivered from cypress with 0x00 written in all cells. incoming inspection routines at customer or c ontract manufacturer?s sites sometimes reprogram these values. final nv patterns are typically repeating patterns of aa, 55, 00, ff, a5, or 5a. end product?s firmware should not assume an nv array is in a set programmed state. routines that check memory content values to determine first time system configuration, cold or warm boot status, and so on should always program a unique nv pattern (that is, complex 4-byte pattern of 46 e6 49 53 hex or more random bytes) as pa rt of the final system manufac- turing test to ensure these system routines work consistently. power-up boot firmware routines should rewrite the nvsram into the desired state (for example, autostore enabled). while the nvsram is shipped in a pres et state, best practice is to again rewrite the nvsram into the desired state as a safeguard against events that might flip the bit inadvertently such as program bugs and incoming inspection routines. the v cap value specified in this data sheet includes a minimum and a maximum value size. best practice is to meet this requirement and not exceed the maximum v cap value because the nvsram internal algorithm calculates v cap charge and discharge time based on this max v cap value. customers that want to use a larger v cap value to make sure there is extra store charge and store time should discuss their v cap size selection with cypress to understand any impact on the v cap voltage level at the end of a t recall period. when base time is updated, th ese updates are transferred to the time keeping registers when ?w? bit is set to ?0?. this transfer takes t rtcp time to complete. it is recommended to initiate software store or hardware store after t rtcp time to save the base time into nonvolatile memory. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 16 of 27 maximum ratings exceeding maximum ratings may shorten the useful life of the device. these user guidelines are not tested. storage temperature ..... ............ ............... ?65 c to +150 c maximum accumulated storage time at 150 c ambient temperature........................ 1000 h at 85 c ambient temperature..................... 20 years ambient temperature with power applied ...?55 c to +150 c supply voltage on v cc relative to v ss ............?0.5 v to 4.1 v voltage applied to outputs in high z state ..................................... ?0.5 v to v cc + 0.5 v input voltage .........................................?0.5 v to vcc + 0.5 v transient voltage (<20 ns) on any pin to ground potential . ............ ..... ?2.0 v to v cc + 2.0 v package power dissipation capability (t a = 25 c) .................................................. 1.0 w surface mount pb soldering temperature (3 seconds) ......... .............. .............. ..... +260 c dc output current (1 output at a time, 1s duration)..... 15 ma static discharge voltage.......................................... > 2001 v (per mil-std-883, method 3015) latch up current................................................ ..... > 200 ma operating range range ambient temperature v cc industrial ?40 c to +85 c 2.7 v to 3.6 v dc electrical characteristics over the operating range (v cc = 2.7 v to 3.6 v) parameter description test conditions min typ [8] max unit v cc power supply voltage 2.7 3.0 3.6 v i cc1 average v cc current t rc = 25 ns t rc = 45 ns values obtained without output loads (i out = 0 ma) ??70 52 ma ma i cc2 average v cc current during store all inputs don?t care, v cc = max. average current for duration t store ??10ma i cc3 [8] average v cc current at t rc = 200 ns, v cc (typ), 25 c all inputs cycling at cmos levels. values obtained without output loads (i out = 0 ma). ?35?ma i cc4 average v cap current during autostore cycle all inputs don?t care. average current for duration t store ??5ma i sb v cc standby current ce > (v cc ? 0.2 v). v in < 0.2 v or > (v cc ? 0.2 v). w bit set to ?0?. standby current level after non volatile cycle is complete. inputs are static. f = 0 mhz. ??5ma i ix [9] input leakage current (except hsb ) v cc = max, v ss < v in < v cc ?1 ? +1 a input leakage current (for hsb ) v cc = max, v ss < v in < v cc ?100 ? +1 a i oz off state output leakage current v cc = max, v ss < v out < v cc , ce or oe > v ih or we < v il ?1 ? +1 a v ih input high voltage 2.0 ? v cc + 0.5 v v il input low voltage v ss ? 0.5 ?0.8v v oh output high voltage i out = ?2 ma 2.4 ? ? v v ol output low voltage i out = 4 ma ? ? 0.4 v v cap storage capacitor between v cap pin and v ss , 5 v rated 61 68 180 f notes 8. typical values are at 25 c, v cc = v cc (typ). not 100% tested. 9. the hsb pin has i out = -2 ua for v oh of 2.4 v when both active high and low drivers are disabled. when they are enabled standard v oh and v ol are valid. this parameter is characterized but not tested. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 17 of 27 ac test conditions input pulse levels....................................................0 v to 3 v input rise and fall times (10% - 90%)............................ < 3 ns input and output timing reference levels........................ 1.5 v data retention and endurance parameter description min unit data r data retention 20 years nv c nonvolatile store operations 1,000 k capacitance parameter [10] description test conditions max unit c in input capacitance t a = 25 c, f = 1 mhz, v cc = v cc (typ) 7pf c out output capacitance 7 pf thermal resistance parameter [10] description test conditions 48 ssop unit ja thermal resistance (junction to ambient) test conditions follow standard test methods and procedures for measuring thermal impedance, in accordance with eia/jesd51. 37.47 c/w jc thermal resistance (junction to case) 24.71 c/w figure 6. ac test loads 3.0 v output 5 pf r1 r2 789 3.0 v output 30 pf r1 r2 789 577 577 [11] max units v rtcbat rtc battery pin voltage 1.8 3.0 3.6 v i bak [12] rtc backup current t a (min) ? ? 0.35 a 25 c ? 0.35 ? a t a (max) ? ? 0.5 a v rtccap [13] rtc capacitor pin voltage t a (min) 1.6 ? 3.6 v 25 c 1.5 3.0 3.6 v t a (max) 1.4 ? 3.6 v tocs rtc oscillator time to start ? 1 2 sec t rtcp rtc processing time from end of ?w? bit set to ?0? ? ? 350 s r bkchg rtc backup capacitor charge current-limiting resistor 350 ? 850 ? notes 10. these parameters are guaranteed by design and are not tested. 11. typical values are at 25 c, v cc = v cc (typ). not 100% tested. 12. from either v rtccap or v rtcbat. 13. if v rtccap > 0.5 v or if no capacitor is connected to v rtccap pin, the oscillator starts in tocs time. if a backup capacitor is connected and v rtccap < 0.5 v, the capacitor must be allowed to charge to 0.5 v for oscillator to start. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 18 of 27 ac switching characteristics parameters description 25 ns 45 ns unit cypress parameter alt parameter min max min max sram read cycle t ace t acs chip enable access time ? 25 ? 45 ns t rc [14] t rc read cycle time 25 ? 45 ? ns t aa [15] t aa address access time ? 25 ? 45 ns t doe t oe output enable to data valid ? 12 ? 20 ns t oha [15] t oh output hold after address change 3 ? 3 ? ns t lzce [16, 17] t lz chip enable to output active 3 ? 3 ? ns t hzce [16, 17] t hz chip disable to output inactive ? 10 ? 15 ns t lzoe [16, 17] t olz output enable to output active 0 ? 0 ? ns t hzoe [16, 17] t ohz output disable to output inactive ? 10 ? 15 ns t pu [16] t pa chip enable to power active 0 ? 0 ? ns t pd [16] t ps chip disable to power standby ? 25 ? 45 ns sram write cycle t wc t wc write cycle time 25 ? 45 ? ns t pwe t wp write pulse width 20 ? 30 ? ns t sce t cw chip enable to end of write 20 ? 30 ? ns t sd t dw data setup to end of write 10 ? 15 ? ns t hd t dh data hold after end of write 0 ? 0 ? ns t aw t aw address setup to end of write 20 ? 30 ? ns t sa t as address setup to start of write 0 ? 0 ? ns t ha t wr address hold after end of write 0 ? 0 ? ns t hzwe [16, 17, 18] t wz write enable to output disable ? 10 ? 15 ns t lzwe [16, 17] t ow output active after end of write 3 ? 3 ? ns switching waveforms figure 7. sram read cycle #1: address controlled [14, 15, 19 ] address data output address valid previous data valid output data valid t rc t aa t oha notes 14. we must be high during sram read cycles. 15. device is continuously selected with ce and oe low. 16. these parameters are guaranteed by design and are not tested. 17. measured 200 mv from steady state output voltage. 18. if we is low when ce goes low, the outputs remain in the high impedance state. 19. hsb must remain high during read and write cycles. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 19 of 27 figure 8. sram read cycle #2: ce and oe controlled [20, 21] figure 9. sram write cycle #1: we controlled [21, 22, 23] figure 10. sram write cycle #2: ce controlled [21, 22, 23] address valid address data output output data valid standby active high impedance ce oe i cc t hzce t rc t ace t aa t lzce t doe t lzoe t pu t pd t hzoe data output data input input data valid high impedance address valid address previous data t wc t sce t ha t aw t pwe t sa t sd t hd t hzwe t lzwe we ce data output data input input data valid high impedance address valid address t wc t sd t hd we ce t sa t sce t ha t pwe note 20. we must be high during sram read cycles. 21. hsb must remain high during read and write cycles. 22. if we is low when ce goes low, the outputs remain in the high impedance state. 23. ce or we must be > v ih during address transitions. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 20 of 27 autostore/power-up recall parameter description min max unit t hrecall [24] power-up recall duration ? 20 ms t store [25] store cycle duration ? 8 ms t delay [26] time allowed to complete sram write cycle ? 25 ns v switch low voltage trigger level ? 2.65 v t vccrise [27] v cc rise time 150 ? s v hdis [27] hsb output disable voltage ? 1.9 v t lzhsb [27] hsb to output active time ? 5 s t hhhd [27] hsb high active time ? 500 ns switching waveforms figure 11. autostore or power-up recall [28] v switch v hdis t vccrise t store t store t hhhd t hhhd t delay t delay t lzhsb t lzhsb t hrecall t hrecall hsb out autostore power- up recall read & write inhibited (rwi) power-up recall read & write brown out autostore power-up recall read & write power down autostore note note note note v cc 25 25 29 29 notes 24. t hrecall starts from the time v cc rises above v switch. 25. if an sram write has not taken place since the last nonvolatile cycle, no au tostore or hardware store takes place 26. on a hardware store and autostore initiation, sram write operation continues to be enabled for time t delay . 27. these parameters are guaranteed by design and are not tested. 28. read and wr ite cycles are ignored during store, recall, and while v cc is below v switch. 29. during power-up and power-down, hsb glitches when hsb pin is pulled up through an external resistor. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 21 of 27 software controlled store/recall cycle parameter [30, 31] description 25 ns 45 ns unit min max min max t rc store/recall initiation cycle time 25 ? 45 ? ns t sa address setup time 0?0?ns t cw clock pulse width 20 ? 30 ? ns t ha address hold time 0?0?ns t recall recall duration ? 200 ? 200 s t ss [32, 33] soft sequence processing time ? 100 ? 100 s switching waveforms figure 12. ce & oe controlled software store/recall cycle [31] figure 13. autostore enable/disable cycle t rc t rc t sa t cw t cw t sa t ha t lzce t hzce t ha t ha t ha t store /t recall t hhhd t lzhsb high impedance address #1 address #6 address ce oe hsb(storeonly) dq (data) rwi t delay note 34 t rc t rc t sa t cw t cw t sa t ha t lzce t hzce t ha t ha t ha t delay address #1 address #6 address ce oe dq (data) t ss note 34 notes 30. the software sequence is clocked with ce controlled or oe controlled reads. 31. the six consecutive addresses must be read in the order listed in tab l e 1 . we must be high during all six consecutive cycles. 32. this is the amount of time it takes to take action on a soft sequence command. vcc power must remain high to effectively reg ister command. 33. commands such as store and recall lock out i/o until operation is complete which further incr eases this time. see the specif ic command. 34. dq output data at the sixth read may be invalid since the output is disabled at t delay time. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 22 of 27 hardware store cycle parameter description min max unit t dhsb hsb to output active time when write latch not set ? 25 ns t phsb hardware store pulse width 15 ? ns switching waveforms figure 14. hardware store cycle [35] figure 15. soft sequence processing [36, 37] t phsb t phsb t delay t dhsb t delay t store t hhhd t lzhsb write latch set write latch not set hsb (in) hsb (out) dq (data out) rwi hsb (in) hsb (out) rwi hsb pin is driven high to v c c only by internal sram is disabled as long as hsb (in) is driven low . hsb driver is disabled t dhsb 100 kohm resistor, address #1 address #6 address #1 address #6 soft sequence command t ss t ss ce address v cc t sa t cw soft sequence command t cw note 35. if an sram write has not taken place since the last nonvolatile cycle, no au tostore or hardware store takes place. 36. this is the amount of time it takes to take action on a soft sequence command. vcc power must re main high to effectively reg ister command. 37. commands such as store and recall lock out i/o until operati on is complete which further increases this time. see the specif ic command. [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 23 of 27 truth table for sram operations hsb must remain high for sram operations. table 5. truth table ce we oe inputs/outputs mode power h x x high z deselect/power-down standby l h l data out (dq 0 ?dq 7 ) read active l h h high z output disabled active l l x data in (dq 0 ?dq 7 ) write active [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 24 of 27 ordering code definition ordering information speed (ns) ordering code package diagram package type operating range 25 CY14B256KA-SP25XIt 51-85061 48-pin ssop industrial CY14B256KA-SP25XI 45 cy14b256ka-sp45xit cy14b256ka-sp45xi all the above parts are pb-free. option: t - tape and reel blank - std. speed: 25 - 25 ns data bus: k - x8 + rtc density: 256 - 256 kb voltage: b - 3.0 v cypress cy 14 b 256 k a -sp 25 x i t 14 - nvsram temperature: i - industrial (?40 to 85 c) pb-free package: 45 - 45 ns die revision: blank - no rev a - 1 st rev sp - 48 ssop [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 25 of 27 package diagram figure 16. 48-pin ssop (51-85061) 51-85061 *d [+] feedback
cy14b256ka document #: 001-55720 rev. *c page 26 of 27 acronyms document conventions units of measure acronym description bcd binary coded decimal nvsram nonvolatile static random access memory ssop shrink small-outline package rohs restriction of hazardous substances i/o input/output cmos complementary metal oxide semiconductor eia electronic industries alliance jedec joint electron devices engineering council rwi read and write inhibited rtc real time clock symbol unit of measure c degrees celsius hz hertz kbit 1024 bits khz kilohertz k kilo ohms a microamperes ma milliampere f microfarads mhz megahertz s microseconds ms millisecond ns nanoseconds pf picofarads v volts ohms w watts [+] feedback
document #: 001-55720 rev. *c revised january 17, 2011 page 27 of 27 all products and company names mentioned in this document may be the trademarks of their respective holders. cy14b256ka ? cypress semiconductor corporation, 2009-2011. the information contained herein is subject to change without notice. cypress s emiconductor corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a cypress product. nor does it convey or imply any license under patent or other rights. cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement wi th cypress. furthermore, cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. the inclusion of cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies cypress against all charges. any source code (software and/or firmware) is owned by cypress semiconductor corporation (cypress) and is protected by and subj ect to worldwide patent protection (united states and foreign), united states copyright laws and internatio nal treaty provisions. cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the cypress source code and derivative works for the sole purpose of creating custom software and or firmware in su pport of licensee product to be used only in conjunction with a cypress integrated circuit as specified in the applicable agreement. any reproduction, modification, translation, compilation, or repre sentation of this source code except as specified above is prohibited without the express written permission of cypress. disclaimer: cypress makes no warranty of any kind, express or implied, with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. cypress reserves the right to make changes without further notice to t he materials described herein. cypress does not assume any liability arising out of the application or use of any product or circuit described herein. cypress does not authori ze its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. the inclusion of cypress? prod uct in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies cypress against all charges. use may be limited by and subject to the applicable cypress software license agreement. document history page sales, solutions, and legal information worldwide sales and design support cypress maintains a worldwide network of offices, solution center s, manufacturer?s representative s, and distributors. to find t he office closest to you, visit us at cypress locations . products automotive cypress.co m/go/automotive clocks & buffers cypress.com/go/clocks interface cypress. com/go/interface lighting & power control cypress.com/go/powerpsoc cypress.com/go/plc memory cypress.com/go/memory optical & image sensing cypress.com/go/image psoc cypress.com/go/psoc touch sensing cyp ress.com/go/touch usb controllers cypress.com/go/usb wireless/rf cypress.com/go/wireless psoc solutions psoc.cypress.com/solutions psoc 1 | psoc 3 | psoc 5 document title: cy14b256ka 256-kbit (32 k x 8) nvsram with real time clock document number: 001-55720 rev. ecn no. orig. of change submission date description of change ** 2763469 gvch 09/14/09 new datasheet *a 2829117 gvch 12/16/09 added data retention and endurance table updated store cycles to quantumtrap from 200k to 1 million updated i bak rtc backup current spec unit from na to a added contents . moved to external web *b 2922858 gvch 04/26/10 pin definitions : added more clarity on hsb pin operation hardware store (hsb) operation : added more clarity on hsb pin operation updated hsb pin operation in figure 11 and updated footnote 29 updated package diagram. *c 3143855 gvch 01/17/2011 updated setting the clock description added footnote 7 updated ?w? bit description in register map detail table updated best practices added t rtcp parameter to rtc characteristics table figure 11: typo error fixed added acronyms table and document conventions table [+] feedback


▲Up To Search▲   

 
Price & Availability of CY14B256KA-SP25XI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X